package com.summer.practice.nunu.model;

import com.summer.practice.nunu.annotataion.ColumnRole;
import com.summer.practice.nunu.annotataion.ColumnSeq;
import com.summer.practice.nunu.annotataion.ExcelColumn;

import java.util.ArrayList;
import java.util.List;

public class practiceDto {
    @ExcelColumn(column = ColumnSeq.A,needVal = true)
    private String name1;
    @ExcelColumn(column = ColumnSeq.B,needVal = true)
    private String name2;
    @ExcelColumn(column = ColumnSeq.C)
    private String name3;
    @ExcelColumn(column = ColumnSeq.D,needVal = true,role = ColumnRole.master, value = "列表")
    private String name4;
    @ExcelColumn(column = ColumnSeq.E,role = ColumnRole.slave)
    public List<String> name5List=new ArrayList<>();



    public void setName1(String name1) {
        this.name1 = name1;
    }


    public void setName2(String name2) {
        this.name2 = name2;
    }


    public void setName3(String name3) {
        this.name3 = name3;
    }


    public void setName4(String name4) {
        this.name4 = name4;
    }


    public List<String> getName5List() {
        return name5List;
    }


    public void setName5List(List<String> name5List) {
        this.name5List = name5List;
    }



    public String getName1() {
        return name1;
    }

    public String getName2() {
        return name2;
    }

    public String getName3() {
        return name3;
    }

    public String getName4() {
        return name4;
    }
}
